package com.laolang.shop.modules.base.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.laolang.shop.modules.base.entity.BaseEntity;

/**
 * @author khlbat
 * @version 1.0
 * @date 2020/11/4 22:10
 */
public interface BaseService<T extends BaseEntity> extends IService<T> {

    PageInfo<T> page(Integer page, Integer size, Wrapper<T> queryWrapper);
}
